﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using IUI;
using BaseUI;
using BL;

namespace WebUI
{
   public partial class MainPage : /*System.Web.UI.Page*/BaseWebPage<MainPageController>, IMainPage
   {
      private event EventHandler btnClick;
      
      protected void Page_Load(object sender, EventArgs e) { }

      public DateTime Date
      {
         set { _Label1.Text = value.ToString(); }
      }

      public EventHandler ClickButton
      {
         get { return btnClick; }
         set { btnClick = value; }
      }

      protected void _ClickButton(object sender, EventArgs e)
      {
         if (btnClick != null) btnClick(this, null);
      }
   }
}
